<!--
 * @Author: luohan tangli@guokecs.com
 * @Date: 2024-12-19 10:20:11
 * @LastEditors: luohan tangli@guokecs.com
 * @LastEditTime: 2024-12-21 13:46:33
 * @FilePath: \virtual-tour-web\src\views\home\components\MyVidoe.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
import bottom from '@/assets/icon/bottom.png';
<template>
  <div class="home-header">
    <div class="h-h-b">
      <div class="h-h-left" @click="timeViode">
        <span>实时监控</span>
      </div>
      <!-- <div class="h-h-right" @click="backChange">
        <span>录像回放</span>
      </div> -->
      <!-- <img src="@/assets/images/home-page/ss.png" alt="" />
      <img src="@/assets/images/home-page/hf.png" alt="" /> -->
    </div>
  </div>
</template>

<script setup>
  const emit = defineEmits();
  const props = defineProps();
  const timeViode = () => {
    emit('timeViode');
  };
  const backChange = () => {
    emit('backChange');
  };
</script>

<style lang="scss" scoped>
  .home-header {
    .h-h-b {
      width: 300px;
      height: 130px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      .h-h-left {
        width: 110px;
        height: 120px;
        background-image: url('../../../assets/images/home-page/ss.png');
        background-size: 100% 100%;
        position: relative;
        &:hover {
          opacity: 0.9;
          cursor: pointer;
        }
        span {
          position: absolute;
          bottom: 10px;
          left: 50%;
          transform: translate(-50%, -50%);
          font-size: 12px;
          font-family: PingFang SC;
          font-weight: 400;
          color: #ffffff;
        }
      }
      .h-h-right {
        width: 110px;
        height: 120px;
        background-image: url('../../../assets/images/home-page/hf.png');
        background-size: 100% 100%;
        position: relative;
        &:hover {
          opacity: 0.9;
          cursor: pointer;
        }
        span {
          position: absolute;
          bottom: 10px;
          left: 50%;
          transform: translate(-50%, -50%);
          font-size: 12px;
          font-family: PingFang SC;
          font-weight: 400;
          color: #ffffff;
        }
      }
    }
  }
</style>
